package com.ccys.db.dto.doctor.doctorConsultStage;

import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @program: WhiteCoat
 * @description: 更新处方接收
 * @author: ZhangJingCan
 * @create: 2024-02-26 14:32
 **/

@Data
public class UpdatePrescriptionForApprovalDto {

    private Integer status;

    private List<Prescription> prescriptions;
    /**
     * 具体参数不明确 - 看名称就是处方list的参数，但是这个接口对方未传入参数，所以不管
     */
    private List<String> package_prescriptions;//": null,
    private String booking_id;//": "58e43a31-e187-4ad1-b523-7dc156dee6a2",
    private Boolean add_medication;//": true

    @Data
    public class Prescription{
        private String id;//": "00000000-0000-0000-0000-000000000000",
        private Integer dosage;//": 0,
        private String dosage_text;//": "DOSAGE", // 没取
        private BigDecimal quantity;//": 2.0,
        private BigDecimal refill;//": 0, //没取
        private String refill_expiry_date;//": "1999/01/01", // 没取
        private String patient_instruction;//": "patient_instruction",
        private String pharmacist_instruction;//": "pharmacist_instruction",
        private String frequency;//": "AM & PM",
        private String what_is_for;//": "Alzheimer",
        private String causes_drowsiness;//": "false",
        private String any_precautions;//": "Menyusui",
        private BigDecimal duration;//": 1.0,
        private Integer duration_unit;//": 1,
        private BigDecimal uom_quantity;//": 1.0,
        private Boolean prn;//": false,
        private String prn_reason;//": "",
        private Integer unit;//": 12,
        private Boolean is_package;//": false, //没取
        private String package_id;//": null,
        private String step_dose;//": null,
        private Boolean take_complete_course;//": true,
        private String remark;//": "",
        private String product_id;//": 709646,
        private String product_name;//": "ABIXA 10 MG TABLET (Setiap tablet mengandung Memantine Hydrochloride 10 mg)", // 没取
        private BigDecimal product_price;//": 0.0, // 没取
        private Integer index_order;//": null,
        private Boolean is_covered_diagnosis;//": false,
        private Boolean remind_patient_to_call_back;//": false
    }


}
